package com.example.service.webhook.business.alipay.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

/**
 * @author liyang
 * @email liyang@51dojo.com
 * @create 2017-11-03 上午9:56
 * @description 支付宝借呗信息
 **/
@JsonIgnoreProperties(ignoreUnknown = true)
public class AlipayJieBeiInfo {
    @JsonProperty("mapping_id")
    private String mappingId;

    @JsonProperty("credit_amt")
    private int creditAmt;

    @JsonProperty("loanable_amt")
    private int loanableAmt;

    @JsonProperty("risk_int_by_thousand")
    private BigDecimal riskIntByThousand;

    @JsonProperty("ovd_able")
    private boolean ovdAble;

    @JsonProperty("new_able")
    private boolean newAble;

    @JsonProperty("binded_mobile")
    private String bindedMobile;

    @JsonProperty("refuse_reason")
    private String refuseReason;


    public String getMappingId() {
        return mappingId;
    }

    public void setMappingId(String mappingId) {
        this.mappingId = mappingId;
    }

    public int getCreditAmt() {
        return creditAmt;
    }

    public void setCreditAmt(int creditAmt) {
        this.creditAmt = creditAmt;
    }

    public int getLoanableAmt() {
        return loanableAmt;
    }

    public void setLoanableAmt(int loanableAmt) {
        this.loanableAmt = loanableAmt;
    }

    public BigDecimal getRiskIntByThousand() {
        return riskIntByThousand;
    }

    public void setRiskIntByThousand(BigDecimal riskIntByThousand) {
        this.riskIntByThousand = riskIntByThousand;
    }

    public boolean isOvdAble() {
        return ovdAble;
    }

    public void setOvdAble(boolean ovdAble) {
        this.ovdAble = ovdAble;
    }

    public boolean isNewAble() {
        return newAble;
    }

    public void setNewAble(boolean newAble) {
        this.newAble = newAble;
    }

    public String getBindedMobile() {
        return bindedMobile;
    }

    public void setBindedMobile(String bindedMobile) {
        this.bindedMobile = bindedMobile;
    }

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }
}
